package cz.idsv.web.mvc.model.dao;

import java.util.Collection;

import org.springframework.dao.DataAccessException;

import cz.idsv.web.mvc.model.entity.ProductTypeEntity;



/**
 * Product DAO interface.
 * 
 * @author Jan Borzensky 
 */
public interface ProductTypeDao {

    /**
     * Find product.
     */
    public Collection<ProductTypeEntity> findProductType();
    
    /**
     * Saves product.
     */
    public void save(ProductTypeEntity productTypeEntity);
    
    
    /**
     * Delete product.
     */
    public void delete(ProductTypeEntity productTypeEntity);
    
    /**
     * Find product by id.
     */
    public ProductTypeEntity findProductTypeById(Integer id) throws DataAccessException;
    
}

